package com.yunxi.dao.vehicle;

import com.yunxi.bizToHub.pojo.OtdModelVO;
import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.vehicle.VehicleProductView;
import com.yunxi.vehicle.pojo.VehicleProductViewVO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface VehicleProductViewMapper extends BaseMapperPlus<VehicleProductView> {

    VehicleProductViewVO selectProductByCode(String productCode);

    String selectProductCodeBySub(@Param("catalogCode") String catalogCode, @Param("colorInCode") String colorInCode,
        @Param("colorOutCode") String colorOutCode);

    /**
     * 选装包CODE返回NAME
     * @param customPackCode
     * @returnselectCustomPackName
     */
    String selectCustomPackName(@Param("customPackCode") String customPackCode);

    VehicleProductViewVO selectProductBySub(@Param("catalogCode") String catalogCode, @Param("colorInCode") String colorInCode,
        @Param("colorOutCode") String colorOutCode);

    /**
     * 根据15位码查询天窗
     * @param catalogCode
     * @return
     */
    String selectDormerNameByCatalog(@Param("catalogCode") String catalogCode);

    List<OtdModelVO> selectConfigByCustomPackCode(@Param("carModel") String carModel,
        @Param("customPackCodes") String customPackCodes, @Param("packageNo") String packageNo);


}